package com.camemax.server.pojo;

import org.springframework.stereotype.Repository;

import java.util.Date;

// ************************
// * @Date: 2021/6/18
// * @Author: Camemax
// * @Description: 订单实体类
// ************************
@Repository
public class Orders {
    private String orderId;
    private String userId;
    private String orderContent;
    private Date createDate;

    public Orders(){}

    public Orders(String orderId, String userId, String orderContent, Date createDate) {
        this.orderId = orderId;
        this.userId = userId;
        this.orderContent = orderContent;
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "orderId='" + orderId + '\'' +
                ", userId='" + userId + '\'' +
                ", orderContent='" + orderContent + '\'' +
                ", createDate=" + createDate +
                '}';
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getOrderContent() {
        return orderContent;
    }

    public void setOrderContent(String orderContent) {
        this.orderContent = orderContent;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
